package com.lunar.service;

import com.lunar.entity.Companyinfo;
import com.lunar.mapper.CompAnyInfoMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Mapper
public interface CompAnyInfoService {

    List<Companyinfo> getAll();

    int addCompAnyInfo(Companyinfo companyinfo);

    int deleteComp(int cid);

    List<Companyinfo> selectByName(@Param("compName") String compName, @Param("ownerTelName") String ownerTelName);

}
